Skip to content

fix(desktop): tighten companion pet bubble width measurement#598

Merged
bobleer merged 1 commit intoGCWing:mainfrom
bobleer:fix/companion-pet-bubble-width
May 8, 2026
Merged

fix(desktop): tighten companion pet bubble width measurement#598
bobleer merged 1 commit intoGCWing:mainfrom
bobleer:fix/companion-pet-bubble-width

Conversation

@bobleer
Copy link
Copy Markdown
Collaborator

@bobleer bobleer commented May 8, 2026

Summary

  • Measure each companion pet bubble child individually and clamp width to a min/max range, so the floating window hugs the bubble content instead of leaving a wide trailing gap next to the pet.
  • Reduce the visible bubble count from 3 to 2 and reserve a small edge buffer so text no longer clips on the right edge.

Test plan

  • pnpm run lint:web
  • pnpm run type-check:web
  • Manual: launch desktop pet, confirm bubble window width tracks bubble content and no text is clipped.

Measure each bubble child individually and clamp to a min/max range so
the floating window hugs bubble content without leaving a wide trailing
gap. Reduce visible bubbles to 2 and reserve a small edge buffer to
prevent text clipping.
@bobleer bobleer merged commit 4bbe9d2 into GCWing:main May 8, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant